package com.zenith.api.po.dto.article;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "ArtCategoryDTO", description = "文章分类DTO")
public class ArtCategoryDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "分类名称")
    private String categoryName;
    
    @Schema(description = "分类代码")
    private String categoryCode;
    
    @Schema(description = "父级分类ID")
    private Long parentId;
    
    @Schema(description = "分类图标URL")
    private String iconUrl;
    
    @Schema(description = "排序")
    private Integer sort;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
    
    @Schema(description = "扩展信息（JSON）")
    private String extJson;
}